package com.cincc.taofangwang.model;

public class RecordModel {

    public long searchBeginTime;
    public long searchEndTime;
    public String searchStatus = "";
    public String searchPurpose = "";
    public String searchNumber = "";

    public String name = "";
    public String number = "";
    public String purpose = "";
    public String status = "";
    public String purposeFmt = "";
    public String statusFmt = "";
    public String sex = "";
    public String remark = "";
    public String custGroupName = "";
    public String custGroupID = "";
    public String orderID = "";
    //客户信息
    public String reserve = "";
    //隐藏号码
    public String coutomerIPhone = "";
    //导入批次
    public String batchName = "";
    //号码来源
    public String custType;

    public RecordModel(long searchBeginTime, long searchEndTime) {
        this.searchBeginTime = searchBeginTime;
        this.searchEndTime = searchEndTime;
    }

    //eg:此处对数据有处理
    public RecordModel(String name, String number, String purpose, String status, String purposeFmt, String statusFmt, String sex, String remark, String custGroupName, String custGroupID, String orderID, String reserve, String coutomerIPhone, String batchName, String custType) {
        this.name = name;
        this.number = number;
        this.purpose = purpose;
        this.status = status;
        this.purposeFmt = purposeFmt;
        this.statusFmt = statusFmt;
        this.sex = sex;
        this.remark = remark;
        this.custGroupName = custGroupName;
        this.custGroupID = custGroupID;
        this.orderID = orderID;
        this.reserve = reserve;
        this.coutomerIPhone = coutomerIPhone;
        this.batchName = batchName;
        this.custType = custType;

        if (this.purpose.equals("-1") || this.purpose.equals("0")) this.purpose = "";
        if (this.status.equals("-1") || this.status.equals("0")) this.status = "";
        if (this.sex.equals("-1")) this.sex = "";
    }
}
